{% extends "wagglyblog/base.html" %}

{% load i18n %}

{% block content %}
<h2>{% trans "New blog post" %}</h2>

{% if form.errors %}
<p class="error">
    {% blocktrans %}Your post could not be saved due to errors! Please revisit your submission and
    correct the errors below.{% endblocktrans %}
</p>
{% endif %}

<form method="post" action=".">
<fieldset>
{{ form.as_p }}
</fieldset>
<input type="submit" />
</form>
{% endblock %}